function setThemeColor(type) {
	console.log(type);
	if (type == 'theme-light') {
		uni.setTabBarStyle({
			color: '#909399',
			selectedColor: '#0faeff',
			backgroundColor: '#FFFFFF',
			borderStyle: 'white'
		})
		// #ifdef APP-PLUS
		setTimeout(() => {
			plus.navigator.setStatusBarStyle('dark')
		}, 200)
		// #endif
	} else {
		uni.setTabBarStyle({
			color: '#fff',
			selectedColor: '#0faeff',
			backgroundColor: '#000000',
			borderStyle: 'black'
		})
		// #ifdef APP-PLUS
		setTimeout(() => {
			plus.navigator.setStatusBarStyle('light')
		}, 200)
		// #endif
	}
	//#ifdef H5
	document.documentElement.setAttribute('lz-theme', type);
	//#endif

}

export default setThemeColor;
